package com.snapp.web.actions.statics;

import javax.servlet.http.HttpServletRequest;

import com.snapp.util.Statics;
import com.snapp.web.SNAppAction;

public class Reload extends SNAppAction {

	public String execute(HttpServletRequest req) {
		// reset the catalog
		Statics.load();
		
		// set return..
		setResultCode(1);
		setResultMessage("Reloaded FactoryLocal.  Check server logs.");
		
		return super.execute(req);
	}
}
